package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ProjectName: demo
 * @Package: com.example.demo
 * @ClassName: DemoController
 * @Author: wangpeiqi
 * @Description: demo
 * @Date: 2020/10/17 11:45
 * @Version: 1.0
 */
@Controller
public class DemoController {

    @ResponseBody
    @RequestMapping("/hello")
    public String hello() {
        return "Hello Spring Boot!";
    }
}
